package com.avery.entity;

/**
 * Documentshare entity. @author MyEclipse Persistence Tools
 */

public class Documentshare implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer shareuser;
	private Integer touser;
	private Integer documentid;
	private String sharedate;
	private Integer authority;

	// Constructors

	/** default constructor */
	public Documentshare() {
	}

	/** minimal constructor */
	public Documentshare(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Documentshare(Integer id, Integer shareuser, Integer touser,
			Integer documentid, String sharedate, Integer authority) {
		this.id = id;
		this.shareuser = shareuser;
		this.touser = touser;
		this.documentid = documentid;
		this.sharedate = sharedate;
		this.authority = authority;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getShareuser() {
		return this.shareuser;
	}

	public void setShareuser(Integer shareuser) {
		this.shareuser = shareuser;
	}

	public Integer getTouser() {
		return this.touser;
	}

	public void setTouser(Integer touser) {
		this.touser = touser;
	}

	public Integer getDocumentid() {
		return this.documentid;
	}

	public void setDocumentid(Integer documentid) {
		this.documentid = documentid;
	}

	public String getSharedate() {
		return this.sharedate;
	}

	public void setSharedate(String sharedate) {
		this.sharedate = sharedate;
	}

	public Integer getAuthority() {
		return this.authority;
	}

	public void setAuthority(Integer authority) {
		this.authority = authority;
	}

}